package com.starwish.starwishblog.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(description ="用来封装前台传递的用户和密码")
@JsonIgnoreProperties(value = { "handler" })
public class UserVo {
    private Integer id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    private String description;
    private String email;
    private String tel;
    private String nickname;
    private String avatar;
    private String isDelete;
    private Date lastLogin;
    private String status;
    private Date createTime;
    private Date modifyTime;
    private String isFamous;
    private Integer fanCount;
    private Integer followCount;
    private List<UserVo> users;
    private List<Integer> userIds;
}
